<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript">
    /*
     *Boolean 布尔值
     *布尔值只有两个，主要用来做逻辑判断
     * true 真 false 假
     * 使用typeof检测时，返回boolean
     * 
     * 
     * 
     * 
     * 
     */
    var bool1=true;
    var bool2=false;
    document.write(bool1);
    document.write("<br>");
    document.write(bool2);
    console.log(typeof bool1);
    console.log(bool2);
    </script>
</head>
<body>
    
</body>
</html>